<!DOCTYPE html>
<html>
<head>
    <title>YOLOv5 Training</title>
</head>
<body>
    <h1>YOLOv5 Training</h1>

    <h2>Train YOLOv5</h2>
    <form action="/train" method="POST">
        <label for="data_path">Data Path:</label>
        <input type="text" id="data_path" name="data_path" required><br><br>

        <label for="output_path">Output Path:</label>
        <input type="text" id="output_path" name="output_path" required><br><br>

        <input type="submit" value="Train">
    </form>

    <h2>Import Data</h2>
    <form action="/import" method="POST" enctype="multipart/form-data">
        <input type="file" name="file" required><br><br>

        <input type="submit" value="Import">
    </form>
</body>
</html>